import listBuilder from "@/comps/list/listBuilder";

/*
lb.add("name","版本描述",80)
lb.add("app","APP",80)
lb.add("dir","上传路径",80)
lb.add("starter","启动命令",80)
lb.add("config","配置内容",80)
lb.add("configFile","配置文件",80)
lb.add("logs","日志记录",80)
lb.add("ftpOpen","ftp开关",80)
lb.add("ftpPort","ftp端口",80)
lb.add("ftpUser","ftp账号",80)
lb.add("ftpPass","ftp密码",80)

*/
export default function () {
    let lb = listBuilder()
    lb.add("id","#",80)
    lb.add("name","版本描述",180)
    lb.add("app","APP",80).setListIsObjectName()
    lb.add("dir","上传路径",180)
    lb.add("starter","启动命令",180)
    // lb.add("config","配置内容",80)
    // lb.add("configFile","配置文件",180)
    // lb.add("logs","日志记录",80)
    lb.add("ftpOpen","ftp开关",110).setListIsSwitch()
    lb.add("ftpPort","ftp端口",110)
    // lb.add("ftpUser","ftp账号",110)
    // lb.add("ftpPass","ftp密码",110)
    lb.addAction(320).setAlignRight()
    return lb.headers
}